package com.ruoyi.combat.mapper.equiplocation;

import com.ruoyi.combat.domain.equiplocation.CombatFakeIp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 虚假IP Mapper
 * @author zhongzhongwei
 */
public interface CombatFakeIpMapper {

    /**
     * 查询所有虚假IP
     */
    public List<CombatFakeIp> selectCombatFakeIpList();

    public List<CombatFakeIp> selectCombatFakeIpListNew(CombatFakeIp combatFakeIp);

    /**
     * 虚假IP新增
     */
    public int insertCombatFakeIp(CombatFakeIp combatFakeIp);

    /**
     * 虚假IP修改
     */
    public int updateCombatFakeIp(CombatFakeIp combatFakeIp);

    /**
     * 虚假IP删除
     */
    public int deleteCombatFakeIpById(Long id);

    /**
     * 根据虚假IP查询
     */
    public CombatFakeIp selectCombatFakeIpByIp(String fakeIp);

    public CombatFakeIp selectCombatFakeIpById(Long id);
}
